package com.kaigejava.kgblog.comm.bussinessException;

/**
 * Created by sizhongkai on 2018/7/23.
 */
public class BussinessException extends RuntimeException {
    Integer objId;
    String objName;

    public BussinessException(String objName, String message) {
        super(objName + message);
    }

    public BussinessException(String message) {
        super(message);
    }

    public BussinessException(Integer objId, String objName, String message) {
        super(objName + "(" + objId + ")" + message);
    }
}
